<table>
    <thead>
        <th>No</th>
        <th>Name</th>
        <th>1st</th>
        <th>2nd</th>
        <th>Gross</th>
        <th>H'Cap</th>
        <th>Nett</th>
    </thead>
    <tbody>
        <?foreach ($users as $key => $user) :?>
        <tr>
            <td><?echo $key?></td>
            <td><?echo $user["name"]?></td>
            <td><?echo $user["1st"]?></td>
            <td><?echo $user["2nd"]?></td>
            <td><?echo $user["gross"]?></td>
            <td><?echo $user["hcap"]?></td>
            <td><?echo $user["nett"]?></td>
        </tr>
        <?endforeach;?>
    </tbody>
</table>